Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
I'm on a device, for example IPhone XR.I open the application which consists of a webView that calls a website written in php and uses JQuery MobileOn a page we have the html input type = "file" tag which allows the user to select an image from his device.Another button sends it to our server.And the whole process happens correctly.In android we capture this moment and before sending it we resize the chosen image.This happens in@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode==FILECHOOSER_RESULTCODE)
{
//Resize image
}
}We need to do the same thing in Swift